using System;
using DesignPrinciples.SRPSolution;

namespace DesignPrinciples.SRPViolation
{
    class WeatherDisplay
    {
        private DisplayTemperature _displayTemperature;
        private DisplayWindSpeed _displayWindSpeed;

        public WeatherDisplay(int temperature, int windSpeed)
        {
            _displayTemperature = new DisplayTemperature(temperature);
            _displayWindSpeed = new DisplayWindSpeed(windSpeed);
        }

        public void DisplayWeather()
        {
            Console.WriteLine(_displayTemperature.Temperature());
            Console.WriteLine(_displayWindSpeed.WindSpeed());

        }


    }
}
